<div>
	<div class="meta-section">
		<div class="meta-section-header">
			<h4 class="meta-section-header-title">筛选：</h4>
		</div>
		<div class="meta-section-container">
			<div class="meta-underline-row" ui-view="meta-area-control"></div>
			<div class="meta-underline-row">
				<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" ui-view="meta-province-control"></div>
				<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" ui-view="meta-talent-control"></div>
				<div class="clear-float"></div>
			</div>
		</div>
	</div>
	<div class="meta-section">
		<div class="meta-section-header">
			<h4 class="meta-section-header-title">数据：共 {{listCtrl.tableParams.total}} 名用户</h4>
			<div class="meta-section-header-buttons">
				<button class="btn" ng-click="listCtrl.tableParams.showAll()" ng-class="{'btn-info': !listCtrl.tableParams.isShowAll, 'btn-warning': listCtrl.tableParams.isShowAll}">{{listCtrl.tableParams.showAllText}}</button>
				<button class="btn btn-success" ng-click="openModel('sm','views/permission/modal/userModel.html', 'UserModelCtrl', {type:'user'}, true)">新建帐号</button>
			</div>
			<div class="meta-section-header-search" ui-view="meta-search"></div>
		</div>
		<div class="meta-section-container">
			<table class="table table-condensed table-striped table-bordered meta-table">
				<thead>
					<tr>
						<th class="meta-word-4-td">姓名</th>
						<th class="meta-bordered-word-3-td">科研人员</th>
						<th ng-show="listCtrl.tableParams.isShowAll">领域</th>
						<th>机构</th>
						<th class="meta-word-4-td">职务</th>
						<th class="meta-number-11-td">手机</th>
						<th class="meta-icon-1-td">频率</th>
						<th class="meta-icon-1-td">需求</th>
						<th class="meta-icon-1-td">合作</th>
						<th class="meta-icon-1-td">技术</th>
						<th class="meta-icon-1-td">方案</th>
						<th class="meta-icon-1-td" ng-show="listCtrl.tableParams.isShowAll">进程</th>
						<th class="meta-time-td" ng-show="listCtrl.tableParams.isShowAll">注册时间<i class="fa fa-arrow-down fa-sort-ctrl" data-sort="created_at"></i></th>
						<th class="meta-time-td">上次操作<i class="fa fa-arrow-down fa-sort-ctrl" data-sort="stat.last_login_at"></i></th>
						<th class="meta-icon-1-td">操作</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-repeat="element in listCtrl.tableParams.data track by $index">
						<td>{{element.name==null?'暂无':element.name}}</td>
						<td>
							<p class="meta-status meta-adjust-status" ng-class="{'meta-online-status': element.research, 'meta-offline-status': !element.research}">
								{{element.research?'是':'否'}}</p>
						</td>
						<td ng-show="listCtrl.tableParams.isShowAll">{{element.partnerInfo.areas}}</td>
						<td>{{element.partnerInfo.organization==null?'暂无':element.partnerInfo.organization}}</td>
						<td>{{element.partnerInfo.post==null?'暂无':element.partnerInfo.post}}</td>
						<td>{{element.mobile==null?'暂无':element.mobile}}</td>
						<td>{{element.stat.loginsInMonth==null?'0':element.stat.loginsInMonth}}</td>
						<td><a target="_blank" ui-sref="meta.permission.demand.user.list({page: 1, search: 'publisherId', value: element.id})">{{element.demand}}</a></td>
						<td><a target="_blank" ui-sref="meta.permission.demand.cooperation.list({page: 1, search: 'publisherId', value: element.id})">{{element.cooperation}}</a></td>
						<td><a target="_blank" ui-sref="meta.permission.technology.technology.list({page: 1, search: 'publisherId', value: element.id})">{{element.technology}}</a></td>
						<td><a target="_blank" ui-sref="meta.permission.technology.solution.list({page: 1, search: 'publisherId', value: element.id})">{{element.solution}}</a></td>
						<td ng-show="listCtrl.tableParams.isShowAll"><a>暂无</a></td>
						<td ng-show="listCtrl.tableParams.isShowAll">{{element.createdAt | date:"yyyy-MM-dd HH:mm"}}</td>
						<td>{{element.stat.lastLoginAt==null?'还未登录过':(element.stat.lastLoginAt | date:"yyyy-MM-dd HH:mm")}}</td>
						<td>
							<i class="fa fa-edit fa-2x fa-blue" ui-sref="meta.permission.user.user.detail({id: element.id})"></i>
						</td>
					</tr>
				</tbody>
			</table>
			<div class="meta-page" ui-view="page"></div>
		</div>
	</div>
</div>
